package com.xuan.webfinally.config;

import lombok.Data;
import java.util.List;

@Data
public class PageResult<T> {
    private List<T> data;
    private long total;

    public PageResult(List<T> data, long total) {
        this.data = data;
        this.total = total;
    }
}
